/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hashing;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author RMOTTA
 */
public class Arquivo {
    
    public String fasta;
    public void le_txt(String prefix)
    {

        try
        {
            int i = 0;
            FileInputStream fis = new FileInputStream("fasta/".concat(prefix));
            BufferedReader d = new BufferedReader(new InputStreamReader(fis, "UTF8"));

            String line="" ;
            d.readLine();
            for(i=0;i<3;i++)
            {
                line += d.readLine();
            }
            this.fasta = line;
            fis.close();
            d.close();
        }
        catch (FileNotFoundException e) {}
        catch (IOException e) {}

    }
}


